const cleanCutting = [
  {
    id: 1,
    name: '胡萝卜',
    principal: '张三',
    place: '车间A',
    weight: '100',
    quality: '合格',
    date: '2022-01-01',
  },
  {
    id: 2,
    name: '青椒',
    principal: '李四',
    place: '车间B',
    weight: '50',
    quality: '合格',
    date: '2022-01-02',
  },
  {
    id: 3,
    name: '洋葱',
    principal: '王五',
    place: '车间A',
    weight: '200',
    quality: '合格',
    date: '2022-01-03',
  },
  {
    id: 4,
    name: '西红柿',
    principal: '赵六',
    place: '车间B',
    weight: '150',
    quality: '合格',
    date: '2022-01-04',
  },
  {
    id: 5,
    name: '黄瓜',
    principal: '刘七',
    place: '车间A',
    weight: '50',
    quality: '合格',
    date: '2022-01-05',
  },
  {
    id: 6,
    name: '花菜',
    principal: '张三',
    place: '车间A',
    weight: '150',
    quality: '合格',
    date: '2022-01-07',
  },
];

export default {
  'GET /api/cleanCutting': (req: any, res: any) => {
    res.json({
      success: true,
      data: { cleanCutting },
      errorCode: 0,
    });
  },
};
